package com.quarkus.bean;

import com.quarkus.annotation.MyInterceptor;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import java.util.Arrays;
import java.util.List;

/**
 * @version v1.0
 * @Description: TODO(一句话描述该类的功能)
 * @Author: TongRui乀
 * @Date: 2020/12/20 3:26 下午
 */
@ApplicationScoped
public class ProduceBean {

    @Produces
    double PI = 3.1415;

    @Produces
    public List<String> names(){
        return Arrays.asList("jack", "rose");
    }

}
